using UnityEngine;
using System.Collections;

public class New : MonoBehaviour {
	
	void OnGUI () {
				
		//Creates first button
		if(GUI.Button(new Rect(Screen.width / 2 - 100, Screen.height / 2 - 80, 200, 25), "Start Game")) {
			Application.LoadLevel(1);
		}

		//Creates second button
		if(GUI.Button(new Rect(Screen.width / 2 - 100, Screen.height / 2 - 40, 200, 25), "Credit")) {
			Application.LoadLevel(2);
		}
		//Creates third button
		if(GUI.Button(new Rect(Screen.width / 2 - 100, Screen.height / 2 - 0, 200, 25), "Quit")) {
			Application.Quit();
		}
		}
}
